Skip to content

Conversation

@joannekoch
Copy link
Contributor

Add these cruise types to the Automated Testing suite:

cruises = ["ar77", "en617", "hrs2303", "ae2426", "at46"]

@joannekoch joannekoch requested a review from joefutrelle October 2, 2025 13:18
@joannekoch joannekoch self-assigned this Oct 2, 2025
@joannekoch joannekoch added the enhancement New feature or request label Oct 2, 2025
@joefutrelle joefutrelle requested a review from Copilot October 7, 2025 13:31
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Expand automated testing suite to test multiple cruise types instead of just "ar77". The changes parametrize existing test functions to iterate through five different cruise types: "ar77", "en617", "hrs2303", "ae2426", and "at46".

  • Add cruise type arrays and expected data counts for each cruise
  • Convert hardcoded single-cruise tests to parameterized multi-cruise tests
  • Add wrapper functions to execute tests across all cruise types

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 11 comments.

Show a summary per file
File Description
tests/underway.js Parameterized underway data tests for multiple cruises with expected counts and time ranges
tests/nut.js Added multi-cruise support for nutrient data testing
tests/niskin.js Converted niskin bottle tests to run across all cruise types
tests/metadata.js Parameterized metadata tests with cruise-specific expected line counts
tests/hplc.js Added multi-cruise testing for HPLC data
tests/event.js Expanded event testing to cover all cruise types with specific R2R event IDs
tests/chl.js Parameterized chlorophyll data tests for multiple cruises
tests/cast.js Added multi-cruise support for CTD cast operations and special handling for ae2426
tests/bottle.js Converted bottle data tests to support multiple cruise types

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

joefutrelle and others added 8 commits October 7, 2025 09:47
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
@joefutrelle joefutrelle requested a review from Copilot October 7, 2025 13:55
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@joefutrelle joefutrelle merged commit 835b647 into main Oct 7, 2025
@joannekoch joannekoch deleted the test-cruise-types branch November 4, 2025 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants